package com.cqhfan.chatroom.domain.dto;

import com.cqhfan.chatroom.enums.LoginType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 眭传洪
 * @create 2024-11-14 19:42
 */
@Data
public class LoginFormDTO {

    @Schema(description = "登录类型 0账号密码 1验证码")
    private LoginType loginType;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "图形验证码返回的uuid")
    private String uuid;

    @Schema(description = "验证码")
    private String captcha;

    @Schema(description = "电话号码")
    private String phoneNumber;

    @Schema(description = "手机验证码")
    private String code;

}
